#include "degfx/bitmap.h"

void mx_bitmap_frame(MX_BITMAP * bitmap, int x1, int y1, int x2, int y2, int width, MX_PIXEL light, MX_PIXEL dark, MX_PIXEL fill)
{
	mx_bitmap_box(bitmap, x1, y1, x2, y2, width, light, dark);
	mx_bitmap_rectfill(bitmap, x1 + abs(width), y1 + abs(width), x2 - abs(width), y2 - abs(width), fill);
}
